<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class AuthorizeNetDPM</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class AuthorizeNetDPM</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A class that demonstrates the DPM method.</p>
		<p class="notes">
			Located in <a class="field" href="_lib---AuthorizeNetDPM.php.html">/lib/AuthorizeNetDPM.php</a> (line <span class="field">27</span>)
		</p>
		
				
		<pre><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html">AuthorizeNetSIM_Form</a>
   |
   --AuthorizeNetDPM</pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-vars">Vars</a>
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#LIVE_URL" title="details" class="const-name">LIVE_URL</a> = 					<span class="var-type"> 'https://secure.authorize.net/gateway/transact.dll'</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#SANDBOX_URL" title="details" class="const-name">SANDBOX_URL</a> = 					<span class="var-type"> 'https://test.authorize.net/gateway/transact.dll'</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
												<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#directPostDemo" title="details" class="method-name">directPostDemo</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$api_login_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$transaction_key</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$amount</span> = <span class="var-default">&quot;0.00&quot;</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$md5_setting</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#getCreditCardForm" title="details" class="method-name">getCreditCardForm</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$amount</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$fp_sequence</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$relay_response_url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$api_login_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$transaction_key</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$test_mode</span> = <span class="var-default">true</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$prefill</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#getRelayResponseSnippet" title="details" class="method-name">getRelayResponseSnippet</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$redirect_url</span>)
									</div>
								
																												</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html">AuthorizeNetSIM_Form</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_address">AuthorizeNetSIM_Form::$x_address</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_amount">AuthorizeNetSIM_Form::$x_amount</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_background_url">AuthorizeNetSIM_Form::$x_background_url</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_card_num">AuthorizeNetSIM_Form::$x_card_num</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_city">AuthorizeNetSIM_Form::$x_city</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_color_background">AuthorizeNetSIM_Form::$x_color_background</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_color_link">AuthorizeNetSIM_Form::$x_color_link</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_color_text">AuthorizeNetSIM_Form::$x_color_text</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_company">AuthorizeNetSIM_Form::$x_company</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_country">AuthorizeNetSIM_Form::$x_country</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_customer_ip">AuthorizeNetSIM_Form::$x_customer_ip</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_cust_id">AuthorizeNetSIM_Form::$x_cust_id</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_delim_data">AuthorizeNetSIM_Form::$x_delim_data</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_description">AuthorizeNetSIM_Form::$x_description</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_duplicate_window">AuthorizeNetSIM_Form::$x_duplicate_window</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_duty">AuthorizeNetSIM_Form::$x_duty</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_email">AuthorizeNetSIM_Form::$x_email</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_email_customer">AuthorizeNetSIM_Form::$x_email_customer</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_fax">AuthorizeNetSIM_Form::$x_fax</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_first_name">AuthorizeNetSIM_Form::$x_first_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_footer_email_receipt">AuthorizeNetSIM_Form::$x_footer_email_receipt</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_footer_html_payment_form">AuthorizeNetSIM_Form::$x_footer_html_payment_form</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_footer_html_receipt">AuthorizeNetSIM_Form::$x_footer_html_receipt</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_fp_hash">AuthorizeNetSIM_Form::$x_fp_hash</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_fp_sequence">AuthorizeNetSIM_Form::$x_fp_sequence</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_fp_timestamp">AuthorizeNetSIM_Form::$x_fp_timestamp</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_freight">AuthorizeNetSIM_Form::$x_freight</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_header_email_receipt">AuthorizeNetSIM_Form::$x_header_email_receipt</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_header_html_payment_form">AuthorizeNetSIM_Form::$x_header_html_payment_form</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_header_html_receipt">AuthorizeNetSIM_Form::$x_header_html_receipt</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_invoice_num">AuthorizeNetSIM_Form::$x_invoice_num</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_last_name">AuthorizeNetSIM_Form::$x_last_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_line_item">AuthorizeNetSIM_Form::$x_line_item</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_login">AuthorizeNetSIM_Form::$x_login</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_logo_url">AuthorizeNetSIM_Form::$x_logo_url</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_method">AuthorizeNetSIM_Form::$x_method</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_phone">AuthorizeNetSIM_Form::$x_phone</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_po_num">AuthorizeNetSIM_Form::$x_po_num</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_receipt_link_method">AuthorizeNetSIM_Form::$x_receipt_link_method</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_receipt_link_text">AuthorizeNetSIM_Form::$x_receipt_link_text</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_receipt_link_url">AuthorizeNetSIM_Form::$x_receipt_link_url</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_recurring_billing">AuthorizeNetSIM_Form::$x_recurring_billing</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_relay_response">AuthorizeNetSIM_Form::$x_relay_response</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_relay_url">AuthorizeNetSIM_Form::$x_relay_url</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_rename">AuthorizeNetSIM_Form::$x_rename</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_address">AuthorizeNetSIM_Form::$x_ship_to_address</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_city">AuthorizeNetSIM_Form::$x_ship_to_city</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_company">AuthorizeNetSIM_Form::$x_ship_to_company</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_country">AuthorizeNetSIM_Form::$x_ship_to_country</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_first_name">AuthorizeNetSIM_Form::$x_ship_to_first_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_last_name">AuthorizeNetSIM_Form::$x_ship_to_last_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_state">AuthorizeNetSIM_Form::$x_ship_to_state</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_ship_to_zip">AuthorizeNetSIM_Form::$x_ship_to_zip</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_show_form">AuthorizeNetSIM_Form::$x_show_form</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_state">AuthorizeNetSIM_Form::$x_state</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_tax">AuthorizeNetSIM_Form::$x_tax</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_tax_exempt">AuthorizeNetSIM_Form::$x_tax_exempt</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_test_request">AuthorizeNetSIM_Form::$x_test_request</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_trans_id">AuthorizeNetSIM_Form::$x_trans_id</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_type">AuthorizeNetSIM_Form::$x_type</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_version">AuthorizeNetSIM_Form::$x_version</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#var$x_zip">AuthorizeNetSIM_Form::$x_zip</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methoddirectPostDemo" id="directPostDemo"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method directPostDemo</span> (line <span class="line-number">37</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Implements all 3 steps of the Direct Post Method for demonstration  purposes.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			directPostDemo
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$api_login_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$transaction_key</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$amount</span> = <span class="var-default">&quot;0.00&quot;</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$md5_setting</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$api_login_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$transaction_key</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$amount</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$md5_setting</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetCreditCardForm" id="getCreditCardForm"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method getCreditCardForm</span> (line <span class="line-number">115</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Generate a sample form for use in a demo Direct Post implementation.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			getCreditCardForm
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$amount</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$fp_sequence</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$relay_response_url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$api_login_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$transaction_key</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$test_mode</span> = <span class="var-default">true</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$prefill</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$amount</span><span class="var-description">: Amount of the transaction.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$fp_sequence</span><span class="var-description">: Sequential number(ie. Invoice #)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$relay_response_url</span><span class="var-description">: The Relay Response URL</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$api_login_id</span><span class="var-description">: Your API Login ID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$transaction_key</span><span class="var-description">: Your API Tran Key.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$test_mode</span><span class="var-description">: Use the sandbox?</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$prefill</span><span class="var-description">: Prefill sample values(for test purposes).</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetRelayResponseSnippet" id="getRelayResponseSnippet"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method getRelayResponseSnippet</span> (line <span class="line-number">92</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A snippet to send to AuthorizeNet to redirect the user back to the  merchant's server. Use this on your relay response page.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			getRelayResponseSnippet
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$redirect_url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$redirect_url</span><span class="var-description">: Where to redirect the user.</span>			</li>
				</ul>
		
			
	</div>

							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html">AuthorizeNetSIM_Form</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#method__construct">AuthorizeNetSIM_Form::__construct()</a></span><br>
													<span class="method-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#methodgetFingerprint">AuthorizeNetSIM_Form::getFingerprint()</a></span><br>
													<span class="method-name"><a href="../../AuthorizeNet/AuthorizeNetSIM/AuthorizeNetSIM_Form.html#methodgetHiddenFieldString">AuthorizeNetSIM_Form::getHiddenFieldString()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constLIVE_URL" id="LIVE_URL"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">LIVE_URL</span>
			 = <span class="const-default"> 'https://secure.authorize.net/gateway/transact.dll'</span>
			(line <span class="line-number">30</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constSANDBOX_URL" id="SANDBOX_URL"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">SANDBOX_URL</span>
			 = <span class="const-default"> 'https://test.authorize.net/gateway/transact.dll'</span>
			(line <span class="line-number">31</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Oct 2010 17:30:59 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>